<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.js"></script>
</head>
<body>
<div id="app">
<!--    1.多个复选框的使用-->
    <input type="checkbox" value="胡辣汤" v-model="likeFood">胡辣汤
    <input type="checkbox" value="热干面" v-model="likeFood">热干面
    <input type="checkbox" value="豆汁" v-model="likeFood">豆汁
<!--    2.多个复选框单选-->
    <hr>
    <select v-model="likeOneCity">
        <option value="深圳">深圳
        <option value="上海">上海
        <option value="北京">北京
        <option value="杭州">杭州
        <option value="武汉">武汉
    </select>
<!--    3.多个复选框多选-->
    <hr>
    <select v-model="likeProject" multiple>
        <option value="前端">前端</option>
        <option value="后端">后端</option>
        <option value="测试">测试</option>
        <option value="大数据">大数据</option>
        <option value="运维">运维</option>
    </select>
<!--    4.文本域-->
    <hr>
    <textarea v-model="des"></textarea>
</div>
<script>
    Vue.config.productionTip = false
    const vm = new Vue({
        el: '#app',
        data() {
            return {
                likeFood:[],
                likeOneCity:'深圳',
                likeProject:[],
                des:''
            }
        }
    })
</script>
</body>
</html>